package com.ims.core.enums;

/**
01	增值税专用发票
03	机动车销售统一发票
04	增值税普通发票
08	增值税电子专用发票
10	增值税电子普通发票
11	增值税普通发票(卷式)
14	增值税电子普通发票(通行费)
15	二手车销售统一发票
31	数电发票（增值税专用发票）
32	电子发票(增值税专用发票)
85	数电纸质发票（增值税专用发票）
86	数电纸质发票（增值税普通发票）
 * @author IMS
 */
public enum InInvoiceType{
    VALUE_ADDED_TAX_SPECIAL_INVOICE("01", "增值税专用发票"),
    MOTOR_VEHICLE_SALES_UNIFIED_INVOICE("03", "机动车销售统一发票"),
    VALUE_ADDED_TAX_GENERAL_INVOICE("04", "增值税普通发票"),
    VALUE_ADDED_TAX_ELECTRONIC_SPECIAL_INVOICE("08", "增值税电子专用发票"),
    VALUE_ADDED_TAX_ELECTRONIC_GENERAL_INVOICE("10", "增值税电子普通发票"),
    VALUE_ADDED_TAX_GENERAL_INVOICE_ROLL_TYPE("11", "增值税普通发票(卷式)"),
    VALUE_ADDED_TAX_ELECTRONIC_GENERAL_INVOICE_FOR_TOLL("14", "增值税电子普通发票(通行费)"),
    USED_CAR_SALES_UNIFIED_INVOICE("15", "二手车销售统一发票"),
    DIGITAL_ELECTRIC_INVOICE_VALUE_ADDED_TAX_SPECIAL_INVOICE("31", "数电发票（增值税专用发票）"),
    ELECTRONIC_INVOICE_VALUE_ADDED_TAX_SPECIAL_INVOICE("32", "电子发票(增值税专用发票)"),
    DIGITAL_ELECTRIC_INVOICE_RAILWAY_E_TICKET("51", "数电发票（铁路电子客票）"),
    DIGITAL_ELECTRIC_INVOICE_AIR_TRANSPORT_E_TICKET("61", "数电发票（航空运输电子客票行程单）"),
    DIGITAL_ELECTRIC_MOTOR_VEHICLE_SALES_UNIFIED_INVOICE("83", "电子发票（机动车销售统一发票）"),
    DIGITAL_ELECTRIC_USED_CAR_SALES_UNIFIED_INVOICE("84", "电子发票（二手车销售统一发票）"),
    DIGITAL_ELECTRIC_PAPER_INVOICE_VALUE_ADDED_TAX_SPECIAL_INVOICE("85", "数电纸质发票（增值税专用发票）"),
    DIGITAL_ELECTRIC_PAPER_INVOICE_VALUE_ADDED_TAX_GENERAL_INVOICE("86", "数电纸质发票（增值税普通发票）");

    private final String code;
    private final String name;

    InInvoiceType(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
